
import {get, post} from '../utils/request'
// 列表
const getList=(params:any)=>{
  return get("questions/list",params);
}
// 状态
const getState = (params:any)=>{
  return get("questionstate/list",params)
}
//类型
const getType = (params:any)=>{
  return get("questiontype/list",params)
}
//删除
const getDelete = (params:any)=>{
  return get("questions/delete",params)
}
//批删
const getDeleteall = (data:any)=>{
  return post("questions/deleteall",data)
}
const getQuestionsList = (data:any)=>{
  return get('questions/list',data)
}

export {getList,getState,getDelete,getDeleteall,getType,getQuestionsList}
